package com.scalar.chiptrack.operations.process;

public class Transport {

	private String sourceLocationName = "";
	private int sourceLocationID = -1;

	private String destinationLocationName = "";
	private int destinationLocationID =  -1;

	private int normalTime  = -1;
	private float normalCost = 0.0f;

	private int expressTime  = -1 ;
	private float expressCost = 0.0f;

        public Transport() {
        }
        
        public Transport (String sourceLocationName,     
                            int sourceLocationID, 
                            String destLocationName,
                            int destLocationID,
                            int normalTime,
                            float normalCost,
                            int expressTime,
                            float expressCost) {

            this.sourceLocationName = sourceLocationName;
            this.sourceLocationID = sourceLocationID;
            this.destinationLocationName = destLocationName;
            this.destinationLocationID = destLocationID;
            this.normalTime = normalTime;
            this.normalCost = normalCost;
            this.expressTime = expressTime;
            this.expressCost = expressCost;
        }
        
	public void setSourceLocationName(String sourceLocationName){
		this.sourceLocationName = sourceLocationName;
	}

	public String getSourceLocationName(){
		return sourceLocationName;
	}
	public void setSourceLocationID(int sourceLocationID){
		this.sourceLocationID = sourceLocationID;
	}

	public int getSourceLocationID(){
		return sourceLocationID;
	}

	public void setDestinationLocationName(String destinationLocationName){
		this.destinationLocationName = destinationLocationName;
	}
	public String getDestinationLocationName(){
		return destinationLocationName;
	}

	public void setDestinationLocationID(int destinationLocationID){
		this.destinationLocationID = destinationLocationID;
	}

	public int getDestinationLocationID(){
		return destinationLocationID;
	}
	
	public void setNormalTime(int normalTime){
		this.normalTime = normalTime;
	}
	public int getNormalTime(){
		return normalTime;
	}

	public void setNormalCost(float normalCost){
		this.normalCost = (float)normalCost;
	}
	public float getNormalCost(){
		return normalCost;
	}

	public void setExpressTime(int expressTime){
		this.expressTime = expressTime;
	}
	public int getExpressTime(){
		return expressTime;
	}

	public void setExpressCost(float expressCost){
		this.expressCost = (float)expressCost;
	}
	public float getExpressCost(){
		return expressCost;
	}
}